<template>
  <div class="profile">
    <div class="top">
      <div class="container">
        <div class="logo"></div>
        <div class="text">您好，客服小e很高兴为您服务!</div>
      </div>
    </div>
    <div class="mid">
      <div class="qusetion">
        <div class="title">常见问题</div>
        <div class="ques-item">
          <div class="ques-item-l">
            <div class="icon-tr tr1"></div>
            <span class="tem">催单问题</span>
          </div>
          <div class="ques-item-r">
            <p class="ceta-list">订单超时了怎么办？</p>
            <p class="ceta-list">为什么超时送达没有赔付？</p>
          </div>
        </div>
        <div class="ques-item">
          <div class="ques-item-l">
            <div class="icon-tr tr2"></div>
            <span class="tem">退单问题</span>
          </div>
          <div class="ques-item-r">
            <p class="ceta-list">【申请客服介入】进度查询</p>
            <p class="ceta-list">怎么申请部分退单？</p>
          </div>
        </div>
        <div class="ques-item">
          <div class="ques-item-l">
            <div class="icon-tr tr3"></div>
            <span class="tem">活动问题</span>
          </div>
          <div class="ques-item-r">
            <p class="ceta-list">我的红包为什么用不了？</p>
            <p class="ceta-list">我是新客户吗？</p>
          </div>
        </div>
        <div class="ques-item">
          <div class="ques-item-l">
            <div class="icon-tr tr4"></div>
            <span class="tem">投诉建议</span>
          </div>
          <div class="ques-item-r">
            <p class="ceta-list">错送漏送餐品怎么办？</p>
            <p class="ceta-list">餐品质量有问题怎么办？</p>
          </div>
        </div>
        <div class="ques-item">
          <div class="ques-item-l">
            <div class="icon-tr tr3"></div>
            <span class="tem">订单其他问题</span>
          </div>
          <div class="ques-item-r">
            <p class="ceta-list">怎么修改评价？</p>
            <p class="ceta-list">下单以后怎么修改订单信息？</p>
          </div>
        </div>
      </div>
      <van-divider>
        <span>
          <van-icon name="phone-o" size="20px" class="tel-icon" />
        </span>
        <span class="bot1">电话客服：</span>
        <span class="bot2">10105757</span>
      </van-divider>
    </div>
    <div class="bot">
      <van-button type="info" class="btn">在线客服</van-button>
    </div>
  </div>
</template>
<script>
export default {
  data: () => ({}),
  created() {},
  methods: {}
};
</script>
<style lang="less" scoped>
.profile {
  width: 100%;
  background: #f5f5f9;
  .top {
    width: 100%;
    height: 120px;
    background-image: url(http://shadow.elemecdn.com/faas/service-front/static/media/bg.c8e3f1ab.png);
    background-size: 100%;
    background-repeat: no-repeat;
    .container {
      display: flex;
      width: 100%;
      height: 80px;
      align-items: center;
    }
    .logo {
      background-image: url(http://shadow.elemecdn.com/faas/service-front/static/media/customer-service.9f9fce54.png);
      width: 48px;
      height: 48px;
      background-size: 100%;
      display: inline-block;
      margin-left: 20px;
      margin-right: 10px;
    }
    .text {
      width: 272px;
      height: 32px;
      line-height: 32px;
      background-color: rgba(51, 51, 51, 0.15);
      padding-left: 10px;
      color: #fff;
      position: relative;
      border-radius: 2px;
    }
    .text::before {
      content: "";
      position: absolute;
      border: 7px solid rgba(51, 51, 51, 0.15);
      width: 0px;
      height: 0px;
      top: 9px;
      left: -14px;
      border-top-color: transparent;
      border-left-color: transparent;
      border-bottom-color: transparent;
    }
  }
  .mid {
    padding: 10px;
    background: #f5f5f9;
    min-height: 700px;
    .qusetion {
      background: #fff;
      width: 100%;
      min-height: 520px;
      position: relative;
      top: -32px;
      .title {
        color: #333;
        font-size: 14px;
        font-weight: bold;
        padding: 16px;
      }
      .ques-item {
        display: flex;
        border-bottom: 1px solid #ddd;
        .ques-item-l {
          width: 90px;
          height: 60px;
          border-right: 1px solid #ddd;
          text-align: center;
          margin: 15px 0;
          .icon-tr {
            width: 100%;
            height: 20px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: 50%;
            margin-bottom: 8px;
          }
          .tr1 {
            background-image: url("https://fuss10.elemecdn.com/d/dc/4a7a65364efc09d4bbd72ee9b0aadpng.png");
          }
          .tr2 {
            background-image: url("https://fuss10.elemecdn.com/9/d8/2efe04cd59b05d4110bbd58e7e6c7png.png");
          }
          .tr3 {
            background-image: url("https://fuss10.elemecdn.com/9/ef/122ff32b81589cb924a495c7c2e53png.png");
          }
          .tr4 {
            background-image: url("https://fuss10.elemecdn.com/b/73/f8c0990b54f84078043a05a62b99cpng.png");
          }
          .tem {
            color: #000;
            font-size: 12px;
          }
          .tem::after {
            content: "";
            display: inline-block;
            margin-left: 4px;
            width: 5px;
            height: 5px;
            border-right: 1px solid #878d99;
            border-bottom: 1px solid #878d99;
            transform: rotate(-45deg);
          }
        }
        .ques-item-r {
          flex: 0.7;
          color: #666;
          font-size: 14px;
          padding: 0 10px;
          .ceta-list:nth-child(1) {
            padding-bottom: 12px;
            border-bottom: 1px solid #ddd;
          }
        }
      }
    }
  }
  .bot {
    background: #fff;
    position: fixed;
    bottom: 0px;
    z-index: 10px;
    width: 100%;
    // padding-bottom: 60px;
    box-sizing: border-box;
    .btn {
      width: 100%;
      border-radius: 5px;
      font-size: 16px;
      font-weight: bold;
    }
  }
  .van-divider {
    border-color: #aaa;
  }
  .tel-icon {
    vertical-align: -4px;
  }
  .bot1 {
    color: #000;
    font-size: 12px;
    margin-left: 10px;
  }
  .bot2 {
    color: #0094ff;
    font-size: 12px;
  }
}
</style>
